package com.qfedu.lc.api.user;

import com.qfedu.lc.api.user.feigin.UserVipService;
import com.qfedu.lc.api.user.feigin.UserWalletService;
import com.qfedu.lc.common.param.PayAdd;
import com.qfedu.lc.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/userWallet")
public class UserWalletController {

    @Autowired
    private UserWalletService userWalletService;

    @RequestMapping("/create")
    public R create(@RequestBody PayAdd payAdd){

        return  userWalletService.create(payAdd);
    }


}
